gempy.core.data.GemPyEngineConfig¶
- class gempy.core.data.GemPyEngineConfig(backend: gempy_engine.config.AvailableBackends = <AvailableBackends.PYTORCH: 2>, use_gpu: bool = True, dtype: str | None = None, compute_grads: bool | None = False)[source]¶
Examples using
gempy.core.data.GemPyEngineConfig¶Methods
__init__(backend, use_gpu, dtype, compute_grads)Attributes
backendcompute_gradsThe data type used in the engine.
use_gpu- dtype: str | None = None¶
The data type used in the engine. If None, the default data type of the backend is used.
- __init__(backend: AvailableBackends = <AvailableBackends.PYTORCH: 2>, use_gpu: bool = True, dtype: str | None = None, compute_grads: bool | None = False) None¶